#include<stdio.h>
#include<ctype.h>
#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<stdlib.h>
#include<string.h>
#include<sys/epoll.h>
#include<arpa/inet.h>

int main()
{
    struct sockaddr_in sock;
    memset(&sock, 0, sizeof(sock));
    int raw_addr;
    inet_pton(AF_INET, "127.0.0.1", &sock.sin_addr);
    sock.sin_family = AF_INET,
    sock.sin_port = htons(5587);
    int fd = socket(PF_INET, SOCK_STREAM, 0);
    bind(fd, (struct sockaddr*)&sock, sizeof(sock));
    connect(fd, (struct sockaddr*)&sock,sizeof(sock));
}